package com.runfast.paotui.dao.mapper;

import com.runfast.common.dao.IMapper;
import com.runfast.paotui.dao.model.Order;
import com.runfast.paotui.dao.model.OrderExample;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderMapper extends IMapper<Order, Integer, OrderExample> {
    List<Order> selectByMapWithPageable(Map<Object,Object> map);
    Integer countByMap(Map<Object,Object> map);
    Integer countJieDanOrPeiSongOrTotalByMap(Map<Object,Object> map);
    List<Order> selectJieDanAndPeiSongByMap(Map<Object,Object> map);
    List<Order> selectByMapDiaoDu(Map<Object,Object> map);


    Integer countByMapShouYe(Map<Object,Object> map);
}